package com.example.switchcontrolplatform.item;

import com.example.switchcontrolplatform.enumeration.ProductCategory;

import java.math.BigDecimal;
import java.util.Map;

public class ProductItem {
	private String productId; // 商品ID
	private String sku; // 商品SKU
	private BigDecimal unitPrice; // 单价
	private int quantity; // 数量
	private ProductCategory category; // 分类
	private Map<String, Object> attributes; // 属性

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public ProductCategory getCategory() {
		return category;
	}

	public void setCategory(ProductCategory category) {
		this.category = category;
	}

	public Map<String, Object> getAttributes() {
		return attributes;
	}

	public void setAttributes(Map<String, Object> attributes) {
		this.attributes = attributes;
	}
}
